<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/examples/ProgramFrameExamples/ystart.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('ystart_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ystart.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="ystart_8hpp_source.html">ystart.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aabc064b17e82d897cfe939e4bcf44ed2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#aabc064b17e82d897cfe939e4bcf44ed2">yCreateThread</a> (<a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;name, pthread_attr_t *attr, <a class="el" href="ystart_8hpp.html#ac4d1d0002b8fc15edd83cf2d0998911e">ThreadRoutine</a> routine, void *param)</td></tr>
<tr class="separator:aabc064b17e82d897cfe939e4bcf44ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c43a615989fa67739adae744eb63c27"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#a7c43a615989fa67739adae744eb63c27">yCleanThread</a> (void)</td></tr>
<tr class="separator:a7c43a615989fa67739adae744eb63c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a966187042b76d328e6526e2dec9a3385"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#a966187042b76d328e6526e2dec9a3385">test_thread</a> (void *arg)</td></tr>
<tr class="separator:a966187042b76d328e6526e2dec9a3385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab568e52f126f695d96ffc779b71cb303"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#ab568e52f126f695d96ffc779b71cb303">ystart</a> (<a class="el" href="classyStartParam.html">yStartParam</a> &amp;param)</td></tr>
<tr class="separator:ab568e52f126f695d96ffc779b71cb303"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d37a8757cb5e3e4154e7f9b5994cebc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#a5d37a8757cb5e3e4154e7f9b5994cebc">ystart_test</a> (void *param)</td></tr>
<tr class="separator:a5d37a8757cb5e3e4154e7f9b5994cebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ab1051f636ad34a736191ba7b2d3a4cc0"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classyThread.html">yThread</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ystart_8cpp.html#ab1051f636ad34a736191ba7b2d3a4cc0">g_thread_vector</a></td></tr>
<tr class="separator:ab1051f636ad34a736191ba7b2d3a4cc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a966187042b76d328e6526e2dec9a3385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a966187042b76d328e6526e2dec9a3385">&#9670;&nbsp;</a></span>test_thread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* test_thread </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7c43a615989fa67739adae744eb63c27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c43a615989fa67739adae744eb63c27">&#9670;&nbsp;</a></span>yCleanThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void yCleanThread </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aabc064b17e82d897cfe939e4bcf44ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabc064b17e82d897cfe939e4bcf44ed2">&#9670;&nbsp;</a></span>yCreateThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void yCreateThread </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">pthread_attr_t *&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ystart_8hpp.html#ac4d1d0002b8fc15edd83cf2d0998911e">ThreadRoutine</a>&#160;</td>
          <td class="paramname"><em>routine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>param</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab568e52f126f695d96ffc779b71cb303"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab568e52f126f695d96ffc779b71cb303">&#9670;&nbsp;</a></span>ystart()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ystart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyStartParam.html">yStartParam</a> &amp;&#160;</td>
          <td class="paramname"><em>param</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5d37a8757cb5e3e4154e7f9b5994cebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d37a8757cb5e3e4154e7f9b5994cebc">&#9670;&nbsp;</a></span>ystart_test()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ystart_test </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>param</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ab1051f636ad34a736191ba7b2d3a4cc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1051f636ad34a736191ba7b2d3a4cc0">&#9670;&nbsp;</a></span>g_thread_vector</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classyThread.html">yThread</a>&gt; g_thread_vector</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li><li class="navelem"><a class="el" href="dir_96d00b0790dbce33cb9325820b265413.html">ProgramFrameExamples</a></li><li class="navelem"><a class="el" href="ystart_8cpp.html">ystart.cpp</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
